//: src/com/silvtar/sync/model/SSException.java
/* 
 * Created by 朴晟宁 <piaosn@gmail.com> on 4/21/2013. 
 * Copyright (c) 2013 朴晟宁. All rights reserved.
 * 
 * 
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program;
 * 
 * *********************************************************************
 * 
 * Modify History:
 * Date        Version    Description
 * 4/21/2013   0.1        Create the class
 */

package com.silvtar.sync.model;

import java.io.PrintStream;
import java.io.PrintWriter;

/**
 * 异常类 该类用于自定义类可能发生的所有异常
 * 
 * @author 朴晟宁/Silvtar
 * @author piaosn@gmail.com
 * @version 0.1
 */
public class SSException extends Exception {

    private static final long serialVersionUID = 1L;

    public SSException() {

    }

    /**
     * @param msg
     *            异常消息
     */
    public SSException(String msg) {

        super(msg);
    }

    @Override
    public String getMessage() {

        // TODO Auto-generated method stub
        return super.getMessage();
    }

    @Override
    public String getLocalizedMessage() {

        // TODO Auto-generated method stub
        return super.getLocalizedMessage();
    }

    @Override
    public Throwable getCause() {

        // TODO Auto-generated method stub
        return super.getCause();
    }

    @Override
    public synchronized Throwable initCause(Throwable cause) {

        // TODO Auto-generated method stub
        return super.initCause(cause);
    }

    @Override
    public String toString() {

        // TODO Auto-generated method stub
        return super.toString();
    }

    @Override
    public void printStackTrace() {

        // TODO Auto-generated method stub
        super.printStackTrace();
    }

    @Override
    public void printStackTrace(PrintStream s) {

        // TODO Auto-generated method stub
        super.printStackTrace(s);
    }

    @Override
    public void printStackTrace(PrintWriter s) {

        // TODO Auto-generated method stub
        super.printStackTrace(s);
    }

    @Override
    public synchronized Throwable fillInStackTrace() {

        // TODO Auto-generated method stub
        return super.fillInStackTrace();
    }

    @Override
    public StackTraceElement[] getStackTrace() {

        // TODO Auto-generated method stub
        return super.getStackTrace();
    }

    @Override
    public void setStackTrace(StackTraceElement[] stackTrace) {

        // TODO Auto-generated method stub
        super.setStackTrace(stackTrace);
    }

}
